package com.evl.common.persistence.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 余票表
 * </p>
 *
 * @author weijunlong
 * @since 2017-06-22
 */
@TableName("ticket_remainder")
public class TicketRemainder extends Model<TicketRemainder> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
	private Integer id;
    /**
     * 调度车辆表id
     */
	@TableField("sta_id")
	private Integer staId;
    /**
     * 调度车站表id
     */
	@TableField("station_id")
	private Integer stationId;
    /**
     * 余票数量
     */
	@TableField("ticket_count")
	private Integer ticketCount;
    /**
     * 席别详情
     */
	@TableField("seat_detail")
	private String seatDetail;
    /**
     * 到达时间
     */
	@TableField("arr_time")
	private Date arrTime;
    /**
     * 车次
     */
	@TableField("train_no")
	private String trainNo;
    /**
     * 发车时间
     */
	@TableField("start_time")
	private Date startTime;
    /**
     * 始发站
     */
	private String departure;
    /**
     * 到达站
     */
	private String arrive;
    /**
     * 站点顺序
     */
	@TableField("station_order")
	private String stationOrder;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStaId() {
		return staId;
	}

	public void setStaId(Integer staId) {
		this.staId = staId;
	}

	public Integer getStationId() {
		return stationId;
	}

	public void setStationId(Integer stationId) {
		this.stationId = stationId;
	}

	public Integer getTicketCount() {
		return ticketCount;
	}

	public void setTicketCount(Integer ticketCount) {
		this.ticketCount = ticketCount;
	}

	public String getSeatDetail() {
		return seatDetail;
	}

	public void setSeatDetail(String seatDetail) {
		this.seatDetail = seatDetail;
	}

	public Date getArrTime() {
		return arrTime;
	}

	public void setArrTime(Date arrTime) {
		this.arrTime = arrTime;
	}

	public String getTrainNo() {
		return trainNo;
	}

	public void setTrainNo(String trainNo) {
		this.trainNo = trainNo;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getDeparture() {
		return departure;
	}

	public void setDeparture(String departure) {
		this.departure = departure;
	}

	public String getArrive() {
		return arrive;
	}

	public void setArrive(String arrive) {
		this.arrive = arrive;
	}

	public String getStationOrder() {
		return stationOrder;
	}

	public void setStationOrder(String stationOrder) {
		this.stationOrder = stationOrder;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
